Has anyone developed a script that copies selected objects from source to target module, links the target objects to the source and sets access to read only. This is a requirements reuse implementation scheme that I read in a paper. Thought I'd ask around before I go and write it. There are bits of this in the Tools/Functions/Copy Objects but it doesn't support selected objects and doesn't set RO access.
|
Re: Copy, Link, Read Only Script
"....There are bits of this in the Tools/Functions/Copy Objects but it doesn't support selected objects and doesn't set RO access..."
filtering off
Object o
for o in current Module do {
if ( isSelected o ) accept o
else reject o
}
filtering on
Paul Miller
|
Re: Copy, Link, Read Only Script Yes, I have done this, almost exactly as you describe. A reuse system for individual objects from a central repository. A user interface allows you to choose the source module from the library, then you can select the individual objects (or hierarchies) you want to import to your project and the system would copy them and link back to the original objects. Using a custom 'suspect link' mechanism, it iss possible to also determine when objects have been changes in the central library, so you can decide whether you want to update the project side. The system allowed certain attributes to be changed (such as comments, rationale, priority, status, etc, which are all project specific) while locking others (e.g. Object Text and Object Short Text). Unfortunately, this was done for a client and I cannot share the code... But it is possible. Good luck! Marcel |